﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TeacherList.ascx.cs" Inherits="School.Controls.TeacherList" %>
<style type="text/css">
    .nametext{ color:#7F7E7E;}
    .teacherlist{ margin-top:20px;}
    .teacherlist li{ list-style:none; float:left; width:100px; background-image:url(../../images/doit1.gif); background-repeat:no-repeat; padding-left:15px; background-position:0 0px; color:#7F7E7E; }
    .teacher_container{ margin-left:50px; margin-top:20px;}
    .majorName{ margin-right:10px; font-size:15px; font-family:黑体;}
    .majorContent{width:550px; margin-left:0px;}
    .teacherlist a:link{ color:#7F7E7E; text-decoration:none;}
    .teacherlist a:visited{color:#7F7E7E;text-decoration:none;}
    .teacherlist a:hover{color:#7F7E7E;text-decoration:underline;}
    .teacherlist a:active{color:#7F7E7E;text-decoration:underline;}
</style>

<ul class="teacherlist">
    <asp:Repeater ID="rep_teacher" runat="server">
        <ItemTemplate>
            <li><a href='../TeacherInfo/Item-<%#Eval("TID") %>' target="_blank"><%#Eval("TeacherName") %></a></li>
        </ItemTemplate>
    </asp:Repeater>
</ul>